const policy = {
  path: '/policy',
  name: 'policy',
  hidden: false,
  meta: {
    id: '8',
    title: '政策',
    icon: 'md-list-box'
  },
  component: resolve => require(['@/views/Base'], resolve),
  children: [
    {
      path: '/policy/bunch/list',
      name: 'policy/bunch/list',
      component: resolve => require(['@/views/policy/bunch/BunchList'], resolve),
      meta: {
        id: '8-1',
        title: '串货例外',
        keepAlive: true
      }
    },
    {
      path: '/policy/bunch/edit',
      name: 'policy/bunch/edit',
      hidden: true,
      component: resolve => require(['@/views/policy/bunch/BunchEdit'], resolve),
      meta: {
        id: '8-1',
        title: '编辑串货例外'
      }
    },
    {
      path: '/policy/rebate/list',
      name: 'policy/rebate/list',
      component: resolve => require(['@/views/policy/rebate/RebateList'], resolve),
      meta: {
        id: '8-2',
        title: '返利政策',
        keepAlive: true
      }
    },
    {
      path: '/policy/rebate/edit',
      name: 'policy/rebate/edit',
      hidden: true,
      component: resolve => require(['@/views/policy/rebate/RebateEdit'], resolve),
      meta: {
        id: '8-2',
        title: '返利政策'
      }
    },
    {
      path: '/policy/integral/list',
      name: 'policy/integral/list',
      component: resolve => require(['@/views/policy/integral/IntegralList'], resolve),
      meta: {
        id: '8-3',
        title: '积分政策',
        keepAlive: true
      }
    },
    {
      path: '/policy/integral/edit',
      name: 'policy/integral/edit',
      hidden: true,
      component: resolve => require(['@/views/policy/integral/IntegralEdit'], resolve),
      meta: {
        id: '8-3',
        title: '积分政策'
      }
    },
    {
      path: '/policy/fund/list',
      name: 'policy/fund/list',
      component: resolve => require(['@/views/policy/fund/FundList'], resolve),
      meta: {
        id: '8-4',
        title: '基金政策',
        keepAlive: true
      }
    },
    {
      path: '/policy/fund/edit',
      name: 'policy/fund/edit',
      hidden: true,
      component: resolve => require(['@/views/policy/fund/FundEdit'], resolve),
      meta: {
        id: '8-4',
        title: '基金政策'
      }
    },
    {
      path: '/policy/policyLimits/list',
      name: 'policy/policyLimits/list',
      component: resolve => require(['@/views/policy/policyLimits/PolicyLimitsList'], resolve),
      meta: {
        id: '8-5',
        title: '政策限额',
        keepAlive: true
      }
    },
    {
      path: '/policy/policyLimits/edit',
      name: 'policy/policyLimits/edit',
      hidden: true,
      component: resolve => require(['@/views/policy/policyLimits/PolicyLimitsEdit'], resolve),
      meta: {
        id: '8-5',
        title: '政策限额'
      }
    },
    {
      path: '/policy/rebateException/list',
      name: 'policy/rebateException/list',
      component: resolve => require(['@/views/policy/rebateException/RebateExceptionList'], resolve),
      meta: {
        id: '8-6',
        title: '返利例外',
        keepAlive: true
      }
    },
    {
      path: '/policy/rebateException/edit',
      name: 'policy/rebateException/edit',
      hidden: true,
      component: resolve => require(['@/views/policy/rebateException/edit/RebateExceptionEditItem'], resolve),
      meta: {
        id: '8-6',
        title: '返利例外新增编辑'
      }
    },
    {
      path: '/policy/integralException/list',
      name: 'policy/integralException/list',
      component: resolve => require(['@/views/policy/integralException/IntegralExceptionList'], resolve),
      meta: {
        id: '8-7',
        title: '积分例外',
        keepAlive: true
      }
    },
    {
      path: '/policy/integralException/edit',
      name: 'policy/integralException/edit',
      hidden: true,
      component: resolve => require(['@/views/policy/integralException/edit/IntegralExceptionEditItem'], resolve),
      meta: {
        id: '8-7',
        title: '积分例外新增编辑'
      }
    },
    {
      path: '/policy/fundException/list',
      name: 'policy/fundException/list',
      component: resolve => require(['@/views/policy/fundException/FundExceptionList'], resolve),
      meta: {
        id: '8-8',
        title: '基金例外',
        keepAlive: true
      }
    },
    {
      path: '/policy/fundException/edit',
      name: 'policy/fundException/edit',
      hidden: true,
      component: resolve => require(['@/views/policy/fundException/edit/FundExceptionEditItem'], resolve),
      meta: {
        id: '8-8',
        title: '基金例外新增编辑'
      }
    },
    {
      path: '/policy/invalidGoods/list',
      name: 'policy/invalidGoods/list',
      component: resolve => require(['@/views/policy/invalidGoods/InvalidGoodsList'], resolve),
      meta: {
        id: '8-9',
        title: '例外进货',
        keepAlive: true
      }
    },
    {
      path: '/policy/invalidGoods/edit',
      name: 'policy/invalidGoods/edit',
      hidden: true,
      component: resolve => require(['@/views/policy/invalidGoods/edit/InvalidGoodsEditItem'], resolve),
      meta: {
        id: '8-9',
        title: '例外进货新增编辑'
      }
    },
    {
      path: '/policy/scanCode/list',
      name: 'policy/scanCode/list',
      component: resolve => require(['@/views/policy/scanCode/ScanCodeList'], resolve),
      meta: {
        id: '8-10',
        title: '扫码政策',
        keepAlive: true
      }
    },
    {
      path: '/policy/brandException/list',
      name: 'policy/brandException/list',
      component: resolve => require(['@/views/policy/brandException/BrandExceptionList'], resolve),
      meta: {
        id: '8-11',
        title: '品牌例外',
        keepAlive: true
      }
    },
    {
      path: '/policy/brandException/edit',
      name: 'policy/brandException/edit',
      hidden: true,
      component: resolve => require(['@/views/policy/brandException/edit/BrandExceptionEditItem'], resolve),
      meta: {
        id: '8-11',
        title: '品牌例外新增编辑'
      }
    },
    {
      path: '/policy/agencyIntegral/list',
      name: 'policy/agencyIntegral/list',
      component: resolve => require(['@/views/policy/agencyIntegral/AgencyIntegralList'], resolve),
      meta: {
        id: '8-12',
        title: '经销商积分',
        keepAlive: true
      }
    },
    {
      path: '/policy/agencyIntegral/edit',
      name: 'policy/agencyIntegral/edit',
      hidden: true,
      component: resolve => require(['@/views/policy/agencyIntegral/AgencyIntegralEdit'], resolve),
      meta: {
        id: '8-12',
        title: '经销商积分'
      }
    },
    {
      path: '/policy/invalidBrand/list',
      name: 'policy/invalidBrand/list',
      component: resolve => require(['@/views/policy/invalidBrand/InvalidBrandList'], resolve),
      meta: {
        id: '8-13',
        title: '例外品牌',
        keepAlive: true
      }
    },
    {
      path: '/policy/invalidBrand/edit',
      name: 'policy/invalidBrand/edit',
      hidden: true,
      component: resolve => require(['@/views/policy/invalidBrand/InvalidBrandEdit'], resolve),
      meta: {
        id: '8-13',
        title: '例外品牌'
      }
    },
    {
      path: '/policy/seasonException/list',
      name: 'policy/seasonException/list',
      component: resolve => require(['@/views/policy/seasonException/seasonExceptionList'], resolve),
      meta: {
        id: '8-14',
        title: '季度例外',
        keepAlive: true
      }
    }
  ]
}

export default policy

